package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationLiabilityStatementDao;
import com.site.wisdom_construction.entity.personnelModule.EducationLiabilityStatement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/28
 * @Description
 */
@Service
public class EducationLiabilityStatementService implements EducationLiabilityStatementDao {
    @Autowired
    private EducationLiabilityStatementDao educationLiabilityStatementDao;

    @Override
    public int insertEducationLiabilityStatement(Map map) {
        return educationLiabilityStatementDao.insertEducationLiabilityStatement(map);
    }

    @Override
    public int deleteEducationLiabilityStatement(Map map) {
        return educationLiabilityStatementDao.deleteEducationLiabilityStatement(map);
    }

    @Override
    public int updateEducationLiabilityStatement(Map map) {
        return educationLiabilityStatementDao.updateEducationLiabilityStatement(map);
    }

    @Override
    public List<EducationLiabilityStatement> findEducationLiabilityStatementByPage(Map map) {
        return educationLiabilityStatementDao.findEducationLiabilityStatementByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationLiabilityStatementDao.Total(map);
    }

    @Override
    public EducationLiabilityStatement findEducationLiabilityStatementById(Map map) {
        return educationLiabilityStatementDao.findEducationLiabilityStatementById(map);
    }

    @Override
    public List<EducationLiabilityStatement> selectEducationLiabilityStatement(Map map) {
        return educationLiabilityStatementDao.selectEducationLiabilityStatement(map);
    }
}
